﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UploadDocument.aspx.cs"
    Inherits="MyDMS_ExtJS.UploadDocument" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            display: block;
            float: left;
            width: 100px;
            padding: 3px;
            padding-left: 0;
            clear: left;
            z-index: 2;
            position: relative;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" EnableAjax="False" />
    <ext:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" EnableBackgroundColor="true"
        ShowBorder="True" Title="上传文件信息" AutoWidth="True" AutoHeight="True" ShowHeader="True">
        <Items>
            <ext:TextBox runat="server" Label="文档名称" ID="txtDocName" Required="true" ShowRedStar="true">
            </ext:TextBox>
            <ext:TextBox runat="server" Label="文档描述" ID="txtDocDesc" Required="true" ShowRedStar="true">
            </ext:TextBox>
            <ext:ContentPanel EnableBackgroundColor="True" ShowBorder="False" runat="server"
                ShowHeader="False">
                <table>
                                       <tr>
                                              <td>
                                                  <ext:Label ShowRedStar="true" CssClass="style1"
                    runat="server" Text="文件："></ext:Label>
                                              </td>
                        <td>
                            <asp:FileUpload runat="server" ID="fluDocument"></asp:FileUpload>
                        </td>
                    </tr>
                </table>
            </ext:ContentPanel>
            <ext:TextBox runat="server" Label="负责人" ID="tbxOwner" Required="true" ShowRedStar="true"
                Enabled="False">
            </ext:TextBox>
            <ext:DatePicker ID="dpUploadDate" runat="server" Label="归档日期">
            </ext:DatePicker>
            <ext:DropDownList ID="ddlTask" runat="server" Label="业务分类" Enabled="False">
            </ext:DropDownList>
            <ext:DropDownList ID="ddlFolder" runat="server" Label="业务分类" Enabled="False">
            </ext:DropDownList>
            <ext:DropDownList ID="ddlDocumentTypes" runat="server" Label="文档类型">
            </ext:DropDownList>
            <ext:DropDownList ID="ddlSecretLevel" runat="server" Label="密级">
            </ext:DropDownList>
            <ext:DropDownList ID="ddlShelfLife" runat="server" Label="保存期限">
            </ext:DropDownList>
            <ext:Button ID="btnSubmit" runat="server" ValidateForms="SimpleForm1" Text="提交" OnClick="btnSubmit_Click">
            </ext:Button>
        </Items>
    </ext:SimpleForm>
    </form>
</body>
</html>
